<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片转盒子</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body{
            background-color: #ddd;
            padding: 10%;
        }
        button{
            padding: 0px 10px;
            margin-right: 20px;
        }
        textarea{
            width: 100%;
            height: 60vh;
            margin-top: 10px;
        }
        .toolBar{
            display: flex;
            flex-direction: row-reverse;
        }
        .tip{
            font-size: 14px;
            color: red;
            display: flex;
            align-items: center;
        }
    </style>
</head>
<body>
    <div class="toolBar">
        <button>下载HTML</button>
        <input type="file">
        <div class="tip">*图片宽高不建议超过300px。</div>
    </div>
    <textarea></textarea>
    <script src="./index.js"></script>
</body>
</html>